package com.farproc.bugreporter.test;

import com.farproc.android.BugReporter;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class PromptToInstall extends Activity implements OnClickListener {
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.prompt_to_install);
		
		((Button)findViewById(R.id.Install_Button)).setOnClickListener(this);
	}

	@Override
	public void onClick(View view) {
		BugReporter.installFromMarket(this);
	}
}
